package com.briup.jz.service;

import com.briup.jz.bean.AccountCustomer;
import com.briup.jz.bean.extend.AccountCustomerExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;

/**
 * @program: jz
 * @description: 顾客业务接口
 * @author: catmilko
 * @create: 2020/6/12 15:57
 **/

public interface IAccountCustomerService {

    List<AccountCustomer> findAll();

    List<AccountCustomerExtend> findAllWithOrderAndUser();

    AccountCustomer findById(long id);

    void saveOrUpdate(AccountCustomer accountCustomer) throws CustomerException;

    void deleteById(long id) throws CustomerException;
}
